package cn.tedu.store.entity;

public class Goods extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	
		  private Integer id;
		  private Integer category_id;
		  private String item_type;
		  private String title;
		  private String sell_point;
		  private long price;
		  private Integer num;
		  private String image;
		  private Integer status;
		  private Integer priority;
		public Integer getId() {
			return id;
		}
		public void setId(Integer id) {
			this.id = id;
		}
		public Integer getCategory_id() {
			return category_id;
		}
		public void setCategory_id(Integer category_id) {
			this.category_id = category_id;
		}
		public String getItem_type() {
			return item_type;
		}
		public void setItem_type(String item_type) {
			this.item_type = item_type;
		}
		public String getTitle() {
			return title;
		}
		public void setTitle(String title) {
			this.title = title;
		}
		public String getSell_point() {
			return sell_point;
		}
		public void setSell_point(String sell_point) {
			this.sell_point = sell_point;
		}
		public long getPrice() {
			return price;
		}
		public void setPrice(long price) {
			this.price = price;
		}
		public Integer getNum() {
			return num;
		}
		public void setNum(Integer num) {
			this.num = num;
		}
		public String getImage() {
			return image;
		}
		public void setImage(String image) {
			this.image = image;
		}
		public Integer getStatus() {
			return status;
		}
		public void setStatus(Integer status) {
			this.status = status;
		}
		public Integer getPriority() {
			return priority;
		}
		public void setPriority(Integer priority) {
			this.priority = priority;
		}
		public static long getSerialversionuid() {
			return serialVersionUID;
		}
		@Override
		public int hashCode() {
			final int prime = 31;
			int result = 1;
			result = prime * result + ((id == null) ? 0 : id.hashCode());
			return result;
		}
		@Override
		public boolean equals(Object obj) {
			if (this == obj)
				return true;
			if (obj == null)
				return false;
			if (getClass() != obj.getClass())
				return false;
			Goods other = (Goods) obj;
			if (id == null) {
				if (other.id != null)
					return false;
			} else if (!id.equals(other.id))
				return false;
			return true;
		}
		@Override
		public String toString() {
			return "Goods [id=" + id + ", category_id=" + category_id + ", item_type=" + item_type + ", title=" + title
					+ ", sell_point=" + sell_point + ", price=" + price + ", num=" + num + ", image=" + image
					+ ", status=" + status + ", priority=" + priority + "]";
		}
	
}
